home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
fglqbx10.zip
/
09-22.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-06-07
|
773b
|
45 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
Status = SETMEM(-1*(64000+16))
NewMode = FGbestmode(320,200,2)
IF NewMode < 0 OR NewMode = 12 THEN
PRINT "This program requires a 320 x 200 color graphics mode."
STOP
END IF
OldMode = FGgetmode
FGsetmode NewMode
FGsetcolor 7
FGrect 0, 319, 0, 199
FGsetcolor 9
FOR Row = 0 TO 24
CharString$ = " This is row" + STR$(Row) + " "
FGlocate Row, 0
FGtext CharString$, 20
FGtext CharString$, 20
NEXT
FGwaitkey
Status = FGallocate(1)
FGsethpage 1
FGsave 96, 223, 88, 111
FGsetcolor 1
FGrect 96, 223, 88, 111
FGsetcolor 15
FGlocate 12, 13
FGtext "Press any key.", 14
FGwaitkey
FGrestore 96, 223, 88, 111
FGwaitkey
Status = FGfreepage(1)
FGsetmode OldMode
FGreset
END